package com.eascs.ticket.ticket.entity;

import java.io.Serializable;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * The persistent class for the ticket database table.
 * 
 */
@Entity
@Table(name = "ticket")
@NamedQuery(name = "Ticket.findAll", query = "SELECT t FROM Ticket t")
public class TicketPlanUpdate extends com.eascs.ticket.common.entity.UpdateEntity implements Serializable {
	private static final long serialVersionUID = -3096526467328497475L;

	@Id
	private String id;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "implementation_done_time")
	private Date implementationDoneTime;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "implementation_review_time")
	private Date implementationReviewTime;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "publish_prod_time")
	private Date publishProdTime;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "qa_validated_time")
	private Date qaValidatedTime;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "requirement_reviewed_time")
	private Date requirementReviewedTime;

	@Column(name = "version_ticket_id")
	private String versionTicketId;

	@Column(name = "due_date")
	public Date dueDate;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getImplementationDoneTime() {
		return implementationDoneTime;
	}

	public void setImplementationDoneTime(Date implementationDoneTime) {
		this.implementationDoneTime = implementationDoneTime;
	}

	public Date getImplementationReviewTime() {
		return implementationReviewTime;
	}

	public void setImplementationReviewTime(Date implementationReviewTime) {
		this.implementationReviewTime = implementationReviewTime;
	}

	public Date getPublishProdTime() {
		return publishProdTime;
	}

	public void setPublishProdTime(Date publishProdTime) {
		this.publishProdTime = publishProdTime;
	}

	public Date getQaValidatedTime() {
		return qaValidatedTime;
	}

	public void setQaValidatedTime(Date qaValidatedTime) {
		this.qaValidatedTime = qaValidatedTime;
	}

	public Date getRequirementReviewedTime() {
		return requirementReviewedTime;
	}

	public void setRequirementReviewedTime(Date requirementReviewedTime) {
		this.requirementReviewedTime = requirementReviewedTime;
	}

	public String getVersionTicketId() {
		return versionTicketId;
	}

	public void setVersionTicketId(String versionTicketId) {
		this.versionTicketId = versionTicketId;
	}

	public Date getDueDate() {
		return dueDate;
	}

	public void setDueDate(Date dueDate) {
		this.dueDate = dueDate;
	}

}